﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;

namespace SocketLib
{
	public class TranslateObj
	{
		/// <summary>
		/// 缓冲区
		/// </summary>
		public byte[] bytes;
		/// <summary>
		/// 缓冲区大小
		/// </summary>
		public const int BUFFER_SIZE = 512;
		/// <summary>
		/// 存放重复接收数据的列表
		/// </summary>
		public ArrayList tmpAl;
		/// <summary>
		/// 接收/发送数据的Socket
		/// </summary>
		public Socket socket;
		public TranslateObj()
		{
			this.socket = null;
			this.bytes = new byte[BUFFER_SIZE];
			this.socket = null;
		}
		~TranslateObj()
		{
			this.tmpAl = null;
			this.socket = null;
		}
	}
}
